/**
 * System config
 * define all paths for fire, this is the main entrance of TSTH.
 *
 *  @author  Howard.Zuo
 *  @date    Dec 20th, 2014
 */
(function(require) {
    'use strict';

    var bizBase = require.toUrl('business');
    var baseUrl = bizBase + '/js';

    require.config({
        paths: {
            'business/js/main': baseUrl + '/main.642b18b7',
            'business/css/main': bizBase + '/css/main.90256b8a',
            'etc': bizBase + '/etc',
            'js': baseUrl,
            'libs': baseUrl + '/libs',
            // 'achy': baseUrl + '/achy',
            'fw': baseUrl + '/fw',
            'ext': baseUrl + '/fw/ext',
            'init': baseUrl + '/fw/init',
            'config': baseUrl + '/fw/config',
            'service': baseUrl + '/fw/service',
            'features': baseUrl + '/features',
            'jquery': baseUrl + '/externallibs/jquery/1.9.1/jquery.min',
            'angular': baseUrl + '/externallibs/angular/1.2.19/angular.min',
            'slick': baseUrl + '/externallibs/slick-carousel/1.3.6/slick.min',
            'uiRouter': baseUrl + '/externallibs/angular-ui-router/0.2.10/angular-ui-router.min',
            'angular-translate': baseUrl + '/externallibs/angular-translate/2.2.0/angular-translate.min'
        },
        shim: {
            'angular': {
                exports: 'angular'
            },
            'uiRouter': {
                deps: ['angular']
            },
            'angular-translate': {
                deps: ['angular']
            },
            'slick': {
                deps: ['jquery']
            }
        },
        map: {
            '*': {
                underscore: 'lodash'
            }
        }

    });

    define([
        'business/js/main'
    ], function() {});

}(require));
